from django.urls import path, include

from app.views import *

urlpatterns = [
    path(r'login_test_view', login_test_view),
    path(r'logined_test_view', logined_test_view),
    path(r'send_email_test', send_email_test),
    path(r'login', login),
    path(r'register', register),
    # path(r'activate', activate),
    path(r'search_user_by_username', search_user_by_username),
    path(r'search_team_by_teamname', search_team_by_teamname),
    path(r'get_logined_userinfo', get_logined_userinfo),
    path(r'create_team', create_team),
    path(r'get_team_list', get_team_list),
    path(r'del_team', del_team),
    path(r'rename_team', rename_team),
    path(r'generate_invite_link', generate_invite_link),
    path(r'join_team_by_token', join_team_by_token),
    path(r'send_code', send_code),
    path(r'del_team_member', del_team_member),
    path(r'change_team_member_identitys', change_team_member_identitys),
    path(r'get_team_member_list', get_team_member_list),
    path(r'create_project', create_project),
    path(r'get_project_list', get_project_list),
    path(r'get_project_fileid', get_project_fileid),
    path(r'del_project', del_project),
    path(r'permanent_del_project', permanent_del_project),
    path(r'rename_project', rename_project),
    path(r'recycle_project', recycle_project),
    path(r'update_doc_edit_time', update_doc_edit_time),
    path(r'create_doc', create_doc),
    path(r'move_file', move_file),
    path(r'get_file_parentid', get_file_parentid),
    path(r'rename_folder', rename_folder),
    path(r'get_team_root_fileid', get_team_root_fileid),
    path(r'get_file_content', get_file_content),
    path(r'get_all_recycle_files', get_all_recycle_files),
    #path(r'get_doc_list', get_doc_list),
    path(r'copy_project', copy_project),
    path(r'del_folder', del_folder),
    path(r'recycle_folder', recycle_folder),
    path(r'permanent_del_folder', permanent_del_folder),
    path(r'copy_folderfile', copy_folderfile),
    path(r'create_folder', create_folder),
    path(r'copy_doc', copy_doc),
    path(r'del_doc', del_doc),
    path(r'permanent_del_doc', permanent_del_doc),
    path(r'recycle_doc', recycle_doc),
    path(r'rename_doc', rename_doc),
    path(r'new_graph', new_graph),
    path(r'del_graph', del_graph),
    path(r'modify_graph', modify_graph),
    path(r'update_graph_data', update_graph_data),
    path(r'get_graph', get_graph),
    path(r'recover_graph', recover_graph),
    path(r'get_graph_list', get_graph_list),
    path(r'full_del_graph', full_del_graph),
    path(r'update_user_info', update_user_info),
    path(r'get_user_projects', get_user_projects),
    path(r'update_team_info', update_team_info),
    path(r'update_password', update_password),
    path(r'update_user_realname', update_user_realname),
    path(r'update_username', update_username),
    path(r'generate_forget_link', generate_forget_link),
    path(r'forget_by_token', forget_by_token),
    path(r'upload_profile', upload_profile),
    path(r'generate_graph_token', generate_graph_token),
    path(r'get_graph_by_token', get_graph_by_token),
]
